#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	char arr1[10] = { 0 };
	char arr2[10] = { 0 };

	scanf("%s %s", arr1, arr2);
	printf("%s\n", arr1);
	printf("%s\n", arr2);

	return 0;
}